package day6;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class SchooltTest2 {
    public static void main(String[] args) {
        //Scanner in=new Scanner(System.in);
        int i=100;
        int j=i;
        i=200;

        System.out.println("j="+j);
        School s=new School();
        s.classroom=15;
        s.labs=3;
        s.name="合肥科海中心";
        s.addr="马鞍山路10号";
        School s2=s;
        s2.labs=9;
        System.out.println("s2的机房数目:");
        s2.show();
        System.out.println("s的机房数目：");
        s.show();
 //       s=null;
        System.out.println("s=null后:");
//        s.show(); error
    }
}
